import 'package:flutter_ohos/generated/json/base/json_field.dart';
import 'dart:convert';

import 'package:flutter_ohos/generated/json/fourth_data_entity.g.dart';

@JsonSerializable()
class FourthDataEntity {
	String name = "";
	String gender = "";
	int age = 0;

	FourthDataEntity();

	factory FourthDataEntity.fromJson(Map<String, dynamic> json) => $FourthDataEntityFromJson(json);

	Map<String, dynamic> toJson() => $FourthDataEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}